home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
019a
/
text103.zip
/
TEXT103.DOC
next >
Wrap
Text File
|
1991-12-14
|
6KB
|
122 lines
Dos File Editor ver 1.03 By Daniel Wright Copyright 1991
Function Keys
F1 : Shows a help screen
F5 : Delete line from cursor to end of line
F6 : Clear current line, do not delete
F7 : Save and Resume editing
F8 : Save and Exit editing
Alt Keys
Alt-N : Inserts line above cursor, and moves cursor to that new line
Alt-P : Prints file
Alt-R : Resets all five TabMarkers to column 1
Alt-T : Set next available TabMarker (maximum of 5)
Alt-W : Toggles LineWrap on/off [statusline]
Alt-X : Exits with no save
Alt-Y : Deletes current line
Ctrl Keys
^Home : Top of File
^End : End of File
Other Keys
Esc : puts ascii 27 in file
Del : deletes character above cursor
Tab : Moves cursor to next TabMarker
Home : Moves cursor to beginning of line
BackSpace : deletes character to the left of the cursor
PageUp : Moves cursor up 20 lines
PageDown : Moves cursor down 20 lines
Arrows : Move cursor in direction of arrow
Insert : toggles overwrite/insert mode [statusline]
Maximum File Length is 750 lines.
NOTES:
This program was meant to teach myself something about Pascal. I needed
a small program that would take the place of EDLIN, whenever I needed to
write or modify small batch files. Due to the limitations of allocating
memory dynamically, I had to limit the number of lines that the program
can edit. Even with those limitations none of my batch files have ever
exceeded this programs capabilities. I have used this program many times
to read short DOC files that come with someone elses program.
This program has been tested on an 80286-10 and an 80486-33. I prefer to
use the latter, but this program works with either.
I wrote this doc. file with this program, and it works nicely. A few
words:
1. With batch files I've never liked .BAK files so this program
doesn't create them.
2. The BackSpace key deletes the char to the left of the cursor.
3. The Delete key delete the char over the cursor.
4. This program works with only one line at a time, and at the present
has no interaction between lines.
5. Since ANSI.SYS likes the ESC character, this program inserts an ESC
as easily as hitting the ESC key.
6. I have found it works best by putting the program in a directory
that my PATH knows about, and then I can use it in any sub-dir.
I rename the file to T.EXE to make it very easy to bring up.
7. You may include the desired file to be edited on the command line,
if you don't, then you will be prompted for the filename. There is
no way to abort this prompt. You can create zero byte files, by
entering the name of the file, and then pushing Alt-X thereby
exiting the file.
8. The Insert key changes from overwrite to insert, and changes the
cursor accordingly.
9. LineWrap will automatically wrap the line at position 75. This
always adds a new line to the file. It will allow continual typing
to simplify writing docs. I know, I'm using it.
10. If you load a file that has lines longer than 79, all of that data
will be lost. The program will not warn you that you will lose this
data.
Although this program has been entered into the Public Domain, all rights
are reserved. This program is Copyrighted 1991, by DANIEL WRIGHT.
Since this program is Public Domain, feel free to make copies and pass
it around. My legal advisor requests that I include the next two
paragraphs:
DANIEL WRIGHT MAKES NO WARRANTY, EITHER EXPRESSED OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OR MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE, REGARDING THESE MATERIALS AND MAKES SUCH
MATERIALS AVAILABLE SOLELY ON AN "AS-IS" BASIS.
IN NO EVENT SHALL DANIEL WRIGHT BE LIABLE TO ANYONE FOR SPECIAL,
COLLATERAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR
ARISING OUT OF USE OF THESE MATERIALS. THE SOLE AND EXCLUSIVE LIABILITY
TO DANIEL WRIGHT, REGARDLESS OF THE FORM OF ACTION, SHALL NOT EXCEED THE
ORIGINAL INTENDED PURCHASE PRICE OF THE MATERIALS DESCRIBED HEREIN. THE
ORIGINAL INTENDED PURCHASE PRICE IS ZERO DOLLARS.
If you need to know the original size of this program, or if
you have any comments, suggestions, or requests I can be reached on
EXEC-PC (1-414-789-4210) as Daniel Wright.
HISTORY:
1.00 : Basic EDLIN replacement.
Allowed text/background color changes
Maximum file length was 800 lines
1.01 : Simple editor tools (F5 & F6)
Allowed formatted printing
TabMarkers were programmed in, to allow column writing
Maximum file length reduced to 750 lines
1.02 : Deleted Text/Background color changes
Added Help Screen
Added LineWrap
1.03 : Autodetection of color or mono graphics cards. If a
mono card is detected then all color is removed from this
program. It resorts to black and white. This feature was
tested using a VGA card in Hercules and in mono modes. If
you encounter a problem with this feature please notify me.